$(function () {
    getNavList();

    function getNavList() {
        $.ajax({
            type: "get",
            dataType: "json",
            url: "http://193.112.55.79:9090/api/getsitenav",
            success: function (res) {
                // console.log(res.result);
                var navListHtml = template("tp_nav",res.result);
                // console.log(shopHtml);
                document.querySelector('.nav_content').innerHTML = navListHtml;
            }
        });
    }

});